<?php

namespace ApplicationsModule\PeopleModule;

use \Nette\Object;

/**
 * Base contact service class. Implements all the methods from IContactService
 * except getIdentifier(). It means that this is the only method every 
 * ContactService must implement. Others are implemented as NOT_PROVIDED
 * and unless overriden, the service announces it does not support 
 * that type of API.
 *
 * @author pavel
 */
abstract class DummyContactService extends Object implements IContactService {
    
    const NOT_PROVIDED = "not provided";
    
    //abstract public function getIdentifier($personId);
    //abstract static public function getServiceName();
    

    public function getMail($personId) {
        return self::NOT_PROVIDED;
    }

    public function search($name) {
        return self::NOT_PROVIDED;
    }

}

?>
